DirectCallLog

class DirectCallLog(callId: String?, startedAt: Long, endedAt: Long, duration: Long, myRole: DirectCallUserRole?, endedUserId: String?, users: List<DirectCallUser>, endResult: DirectCallEndResult, isVideoCall: Boolean, customItems: Map<String, String>?, isFromServer: Boolean) : Serializable

Properties

callee
Link copied to clipboard
val callee: DirectCallUser?
caller
Link copied to clipboard
val caller: DirectCallUser?
callId
Link copied to clipboard
@SerializedName(value = "call_id")
val callId: String? = null
customItems
Link copied to clipboard
@SerializedName(value = "custom_items")
val customItems: Map<String, String>? = null
duration
Link copied to clipboard
@SerializedName(value = "duration")
val duration: Long = 0
endedAt
Link copied to clipboard
@SerializedName(value = "ended_at")
val endedAt: Long = 0
endedBy
Link copied to clipboard
val endedBy: DirectCallUser?
endedUserId
Link copied to clipboard
@SerializedName(value = "ended_by")
val endedUserId: String? = null
endResult
Link copied to clipboard
@SerializedName(value = "end_result_ex")
val endResult: DirectCallEndResult
isFromServer
Link copied to clipboard
val isFromServer: Boolean = true

Is from server.

isVideoCall
Link copied to clipboard
@SerializedName(value = "is_video_call")
val isVideoCall: Boolean = false
myRole
Link copied to clipboard
@SerializedName(value = "user_role")
val myRole: DirectCallUserRole? = null
startedAt
Link copied to clipboard
@SerializedName(value = "started_at")
val startedAt: Long = 0
users
Link copied to clipboard
@SerializedName(value = "participants")
val users: List<DirectCallUser>